<?php

	namespace Phptricks\app\models\index;

	use Phptricks\system\library\PhptricksExceptions\PhptricksExceptions as Exc;
	use Phptricks\system\library\database\database as DataBase;
	use Phptricks\system\library\models\models as models;
	use Phptricks\system\core\library\library;

	class index extends models implements library{

		private static $_instance = null;

		public static function getinstance(){
			if (self::$_instance === null) {
				self::$_instance = new \Phptricks\app\models\index\index();
			}
			return self::$_instance;
		}

		public function _initialize(){
			
		}

		public function get_data($array_data = array()){


			$array_where = array(
				'user_id|between' => array(1,50),
			);

			$this->select('', 'users');
			$this->where($array_where);
			$data = $this->execute('','user_id');
			
//			pr($data,1);

		}

	}
	